package me.ymfs.springboot.guice.util;

import java.util.UUID;

public class RandomStringUtils {

    public static final String EMPTY = "";
    public static final String MINUS_SIGN = "-";

    public static String uuid32() {
        return uuid().replaceAll(MINUS_SIGN, EMPTY);
    }

    public static String uuid() {
        return UUID.randomUUID().toString();
    }
}
